import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/assets/base.less'

// 引入element-ui
import elementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

// msui
import msui from '@/msui'

// 请求封装
import { $get, $post, axios } from '@/request'

Vue.use(elementUI, { size: 'small', zIndex: 3000 })
Vue.prototype.$get = $get
Vue.prototype.$post = $post
Vue.prototype.$http = axios
Vue.use(msui)

// bus总线
Vue.prototype.$bus = new Vue()

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
